<template>
  <div class="warp">
    <div class="main">
      <div class="header">
        <div class="left">
          <router-link to="/login"><i class="iconfont icon-iconfanhui"></i></router-link>
        </div>
        <div class="centers"><h1>注册</h1></div>
      </div>
      <div class="rmain">
        <div class="register-form">
          <div class="form-group">
            <input type="text" class="form-control yz" ref="yanzhen"  placeholder="验证码">
            <div class="form-group-yz">
              <img @click="refreshpic" :src="imgSrc"  class="form-group-yz-img"/>
            </div>
          </div>
          <div class="form-group">
            <input type="text" class="form-control register-form-inp" placeholder="请输入手机号" ref="user" @keydown="btnYes">
            <div class="register-form-btn"><button ref="btn" :class="btnClassName" :disabled="btnBoolen" @click="getNoteValue">{{this.btnValue}}</button></div>
          </div>
          <div class="form-group">
            <input type="text" class="form-control"  placeholder="请输入短信验证码" ref="note">
          </div>
          <div class="form-group">
            <input type="password" class="form-control" placeholder="密码" ref="pwd">
          </div>
            <button type="button" class="btn btn-danger btn-lg btn-block" @click="register">注册</button>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  
}
</script>